{php include template("admin/header");}

<div class="midder">

{php include template("admin/menu");}

<div class="page">{$pageUrl}</div>

<table>
<tr class="old"><td width="60">AlbumID</td><td>图片</td><td>标题</td><td>UserID</td><td>统计</td><td>addtime</td><td>操作</td></tr>
{loop $arrAlbum $key $item}
<tr><td>{$item[albumid]}</td><td><a href="{SITE_URL}index.php?app=photo&ac=admin&mg=album&ts=photo&albumid={$item[albumid]}">

{if $item[albumface]}
<img src="{php echo tsXimg($item[albumface],'photo',100,100,$item[path])}" />
{else}
<img src="{SITE_URL}public/images/event_dft.jpg" />
{/if}

</a></td>

    <td>{php echo tsTitle($item['albumname'])}</td>

    <td>{$item[userid]}</td><td>{$item[count_photo]}</td>


    <td>{$item['addtime']}</td>


    <td>


    <a href="{SITE_URL}index.php?app=photo&ac=admin&mg=album&ts=isaudit&albumid={$item[albumid]}">
    {if $item['isaudit']}
    <font color="red">审核</font>
    {else}
    取消审核
    {/if}
    </a>


<a href="{SITE_URL}index.php?app=photo&ac=admin&mg=album&ts=isrecommend&albumid={$item[albumid]}">
    {if $item[isrecommend]==0}
    推荐
    {else}
    取消推荐
    {/if}
</a>

<a href="{SITE_URL}index.php?app=photo&ac=admin&mg=album&ts=del_album&albumid={$item[albumid]}">删除</a>

</td></tr>
{/loop}
</table>

</div>

{php include template("admin/footer");}